CFLAG = /home/liusong/my-project-house/Json-Rpc框架/build/release-install-cpp11/include
LFLAG = /home/liusong/my-project-house/Json-Rpc框架/build/release-install-cpp11/lib
all:muduosever muduoclient
muduosever:muduodemoSever.cc
#-lmuduo_net 一定放到muduo_base前面
	g++ -o $@ $^  -std=c++11 -I $(CFLAG) -L $(LFLAG) -lmuduo_net -lmuduo_base  -lpthread  
muduoclient:muduodemoClient.cc
	g++ -o $@ $^  -std=c++11 -I $(CFLAG) -L $(LFLAG) -lmuduo_net -lmuduo_base  -lpthread
.PHONY:clean
clean:
	rm -rf muduosever
	rm -rf muduoclient